package com.ruoyi.cinema.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 排期区域信息对象 schedule_area_info
 *
 * @author HHAOYU
 * @date 2020-12-08
 */
@TableName("schedule_area_info")
public class ScheduleAreaInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @TableId(value = "id")
    private Long id;
    /** 排期ID */
    @Excel(name = "排期ID")
    private Long scheduleId;
    /** 区域ID */
    @Excel(name = "区域ID")
    private String areaId;
    /** 区域名称 */
    @Excel(name = "区域名称")
    private String areaName;
    /** 分区结算价格 */
    @Excel(name = "分区结算价格")
    private Long areaSettlePrice;
    /** 分区服务费 */
    @Excel(name = "分区服务费")
    private Long areaServiceFee;
    /**
     * 网售服务费
     */
    private Long ticketFee;
    /**
     * 网售服务费收取类型 ticket 按照张 order 按照单
     */
    private String feeType;


    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setScheduleId(Long scheduleId)
    {
        this.scheduleId = scheduleId;
    }

    public Long getScheduleId()
    {
        return scheduleId;
    }
    public void setAreaId(String areaId)
    {
        this.areaId = areaId;
    }

    public String getAreaId()
    {
        return areaId;
    }
    public void setAreaName(String areaName)
    {
        this.areaName = areaName;
    }

    public String getAreaName()
    {
        return areaName;
    }
    public void setAreaSettlePrice(Long areaSettlePrice)
    {
        this.areaSettlePrice = areaSettlePrice;
    }

    public Long getAreaSettlePrice()
    {
        return areaSettlePrice;
    }

    public Long getAreaServiceFee() {
        return areaServiceFee;
    }

    public void setAreaServiceFee(Long areaServiceFee) {
        this.areaServiceFee = areaServiceFee;
    }

    public Long getTicketFee() {
        return ticketFee;
    }

    public void setTicketFee(Long ticketFee) {
        this.ticketFee = ticketFee;
    }

    public String getFeeType() {
        return feeType;
    }

    public void setFeeType(String feeType) {
        this.feeType = feeType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("scheduleId", getScheduleId())
            .append("areaId", getAreaId())
            .append("areaName", getAreaName())
            .append("areaSettlePrice", getAreaSettlePrice())
            .append("areaServiceFee", getAreaServiceFee())
            .toString();
    }
}
